package com.cg.config;

import com.cg.service.OperateTokenService;
import com.cg.service.UserTokenService;
import com.cg.service.OperateTokenServiceImpl;
import com.cg.service.UserTokenServiceImpl;
import org.springframework.context.annotation.Bean;

/**
 * @ClassName CacheConfig
 * @Description 调用配置
 * @Author CG
 * @Date 2023/12/1 13:20
 **/
public class CacheConfig {

    @Bean
    public OperateTokenService operateTokenService(){
        return new OperateTokenServiceImpl();
    }

    @Bean
    public UserTokenService userTokenService(){
        return new UserTokenServiceImpl();
    }
}
